package com.example.springbott.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 1784549954@qq.com
 * @since 2022/11/21 18:51
 */
@NoArgsConstructor
@Data
public class MyPermission {

    private List<SystemPermissionsBean> systemPermissions;

    @NoArgsConstructor
    @Data
    public static class SystemPermissionsBean {
        private String id;
        private String label;
        private List<ChildrenBean> children;

        @NoArgsConstructor
        @Data
        public static class ChildrenBean {
            private String id;
            private String label;
            private List<ChildrenBean1> children;

            @NoArgsConstructor
            @Data
            public static class ChildrenBean1 {
                private String id;
                private String label;
                private String api;
            }
        }
    }
}
